#include "asm.h"
#include "regdef.h"
#include "inst_test.h"

LEAF(n17_bne_test)
    addi.w s0, s0 ,1
    li  s2, 0x0
###test inst
    TEST_BNE(0xbcaabd27, 0x82a77a9d, 0x235fde00, 0xdd597dde, 0x235fde00, 0xdd597dde)
    TEST_BNE(0xdb386042, 0x4f6d035f, 0x94668000, 0xe3939568, 0x94668000, 0xe3939568)
    TEST_BNE(0x4d86020c, 0xa71f7d80, 0x9d7e5298, 0xddab2338, 0x9d7e5298, 0xddab2338)
    TEST_BNE(0xd52205c8, 0x60eb2f03, 0x8a162fc0, 0xdee6c348, 0x8a162fc0, 0xdee6c348)
    TEST_BNE(0xe95a09a5, 0x17b9e080, 0x60199ae4, 0x33077154, 0x60199ae4, 0x33077154)
    TEST_BNE(0xd0d56812, 0x8f527ce0, 0x084080f8, 0x644d3e28, 0x084080f8, 0x644d3e28)
    TEST_BNE(0x3ab22930, 0xa0081900, 0xffc93be4, 0xdb7c6be4, 0xffc93be4, 0xdb7c6be4)
    TEST_BNE(0x289a4638, 0x301bf423, 0x53430740, 0x3d724733, 0x53430740, 0x3d724733)
    TEST_BNE(0xb7c97f09, 0xca210b70, 0xc87756db, 0x704fc138, 0xc87756db, 0x704fc138)
    TEST_BNE(0x5346185f, 0xdd68806c, 0x3f55d370, 0xdf6ab418, 0x3f55d370, 0xdf6ab418)
    TEST_BNE(0xf573a38b, 0x39755f2c, 0x6a68f514, 0xf7ead2e0, 0x6a68f514, 0xf7ead2e0)
    TEST_BNE(0x4ae9d503, 0x961df024, 0x3dd47244, 0x54fbacca, 0x3dd47244, 0x54fbacca)
    TEST_BNE(0x376ed178, 0x388f6900, 0xd110bcc0, 0x940dba48, 0xd110bcc0, 0x940dba48)
    TEST_BNE(0x7268b0d9, 0x4a475d13, 0x34d6c010, 0xbbf85d40, 0x34d6c010, 0xbbf85d40)
    TEST_BNE(0x02f7e8c2, 0xfa0a5c8a, 0xfe6448d6, 0x2c950005, 0xfe6448d6, 0x2c950005)
    TEST_BNE(0xa2729d72, 0xae9f0cbc, 0x7ced1018, 0x50b6a855, 0x7ced1018, 0x50b6a855)
    TEST_BNE(0x51816f11, 0x38ac65bd, 0xf3235580, 0x4899c954, 0xf3235580, 0x4899c954)
    TEST_BNE(0x6bb40090, 0x75130d00, 0xfe755684, 0x8a80eb35, 0xfe755684, 0x8a80eb35)
    TEST_BNE(0xc4e1f320, 0xf6d07020, 0x764d5510, 0xb6faea20, 0x764d5510, 0xb6faea20)
    TEST_BNE(0x1b1a80c0, 0x3fa2a084, 0x8c38dde0, 0xd82085a8, 0x8c38dde0, 0xd82085a8)
    TEST_BNE(0x12efa34c, 0xafd24c7a, 0x5554cc08, 0xfef9ebd0, 0x5554cc08, 0xfef9ebd0)
    TEST_BNE(0x579c5800, 0xda05fc00, 0xd9273ed0, 0x527986c0, 0xd9273ed0, 0x527986c0)
    TEST_BNE(0x6ed69e00, 0xc9bc9c74, 0xcac182b0, 0xf2291c9c, 0xcac182b0, 0xf2291c9c)
    TEST_BNE(0xca314c8f, 0x08cb8c40, 0x7c9b5bbe, 0x68554000, 0x7c9b5bbe, 0x68554000)
    TEST_BNE(0x5b470628, 0x3ff39fb8, 0x8b005dcc, 0x1178430a, 0x8b005dcc, 0x1178430a)
    TEST_BNE(0x6617a3ca, 0x4b546b70, 0xe3ad64c8, 0xe66d52fc, 0xe3ad64c8, 0xe66d52fc)
    TEST_BNE(0xc79bcf00, 0xa25e7b96, 0xec8ed9fe, 0x256675c0, 0xec8ed9fe, 0x256675c0)
    TEST_BNE(0x64f8bd3c, 0xdd801ec0, 0xf0b13320, 0x32600a48, 0xf0b13320, 0x32600a48)
    TEST_BNE(0x6007ae32, 0xe2562f25, 0x8276f040, 0xa5214741, 0x8276f040, 0xa5214741)
    TEST_BNE(0x379b2295, 0x0cfa8c1c, 0x931c95b4, 0x4054f9f0, 0x931c95b4, 0x4054f9f0)
    TEST_BNE(0xe1e73816, 0x6ec38dd8, 0x3d05df06, 0x1f4b921c, 0x3d05df06, 0x1f4b921c)
    TEST_BNE(0x498ad0f6, 0x22c6c30a, 0x6df1e518, 0xe6dc0f4e, 0x6df1e518, 0xe6dc0f4e)
    TEST_BNE(0x51cb27de, 0x0dce2d00, 0x451cf0d0, 0xd311f9e5, 0x451cf0d0, 0xd311f9e5)
    TEST_BNE(0x7df60ae0, 0xa75bd401, 0xa2c15a80, 0x429906c8, 0xa2c15a80, 0x429906c8)
    TEST_BNE(0x842071a0, 0xa995bea4, 0xbf631b72, 0x86772cbc, 0xbf631b72, 0x86772cbc)
    TEST_BNE(0xdde8ccf2, 0x8f0cbb6f, 0x37356d80, 0x3fda89f8, 0x37356d80, 0x3fda89f8)
    TEST_BNE(0x0765a5c0, 0xcfab4ad7, 0x030eeb24, 0x148c7301, 0x030eeb24, 0x148c7301)
    TEST_BNE(0x06f561f8, 0xb7b91d7a, 0xe76b9dfe, 0xdbafa780, 0xe76b9dfe, 0xdbafa780)
    TEST_BNE(0x6a4e3a0e, 0x37cf11c0, 0x9d91d900, 0x6eb14fc8, 0x9d91d900, 0x6eb14fc8)
    TEST_BNE(0x2e158d90, 0xbedb266f, 0xf7995cb0, 0x96c187b8, 0xf7995cb0, 0x96c187b8)
    TEST_BNE(0xeda03d68, 0x8b5913ac, 0x9cd66080, 0xe2831414, 0x9cd66080, 0xe2831414)
    TEST_BNE(0x5c9495a4, 0x8b3dcd68, 0x6b03dffe, 0xd22b8118, 0x6b03dffe, 0xd22b8118)
    TEST_BNE(0xba0ea6fe, 0x861b65a8, 0xb95f9100, 0x652286ba, 0xb95f9100, 0x652286ba)
    TEST_BNE(0xcd8ee226, 0x6e692b22, 0x34373160, 0x37d56f90, 0x34373160, 0x37d56f90)
    TEST_BNE(0x3b5221a0, 0xecedd8e8, 0x8266f858, 0x117a2724, 0x8266f858, 0x117a2724)
    TEST_BNE(0x0d479ce0, 0x2a732152, 0xbbc6c61c, 0x59164300, 0xbbc6c61c, 0x59164300)
    TEST_BNE(0x3e36c5d0, 0x2885b024, 0x80482a04, 0x2af1aba0, 0x80482a04, 0x2af1aba0)
    TEST_BNE(0xfadc1000, 0xb5820d38, 0xc559f440, 0x473ae964, 0xc559f440, 0x473ae964)
    TEST_BNE(0xca7198ec, 0x72d890f4, 0xa852715d, 0xfb484c16, 0xa852715d, 0xfb484c16)
    TEST_BNE(0x4a1a2d02, 0xbfc959c2, 0x23677418, 0x14a41e50, 0x23677418, 0x14a41e50)
    TEST_BNE(0x44c7ec00, 0x81edef8c, 0x8e9ba77c, 0xfb9502d0, 0x8e9ba77c, 0xfb9502d0)
    TEST_BNE(0x96cf0050, 0x48a26648, 0x97e36390, 0x5ea557fc, 0x97e36390, 0x5ea557fc)
    TEST_BNE(0x41d50de8, 0x095bab30, 0x726295bd, 0x0cb55a66, 0x726295bd, 0x0cb55a66)
    TEST_BNE(0xb32ef190, 0x820af638, 0xe0c06b84, 0x29d10a00, 0xe0c06b84, 0x29d10a00)
    TEST_BNE(0x8c21bb84, 0x2be7749e, 0xe7e13f77, 0x0d4a9678, 0xe7e13f77, 0x0d4a9678)
    TEST_BNE(0x46619e38, 0x16bd40cc, 0x35813018, 0xfff2e1bf, 0x35813018, 0xfff2e1bf)
    TEST_BNE(0x22951764, 0x404dcb49, 0x2bc7f410, 0x83b0fbff, 0x2bc7f410, 0x83b0fbff)
    TEST_BNE(0x46d8b720, 0x3432fb00, 0xc8e31dd8, 0xe871ca88, 0xc8e31dd8, 0xe871ca88)
    TEST_BNE(0x41745330, 0x2fedf25d, 0x19829600, 0x86246bde, 0x19829600, 0x86246bde)
    TEST_BNE(0x2640e748, 0x48f39d40, 0xc96f916c, 0xbc42e558, 0xc96f916c, 0xbc42e558)
    TEST_BNE(0x38d0acf0, 0xe5fc4c68, 0x5bb9ca00, 0x3170b92d, 0x5bb9ca00, 0x3170b92d)
    TEST_BNE(0xe06e5adc, 0x3daed318, 0xc110edc0, 0x02dc1040, 0xc110edc0, 0x02dc1040)
    TEST_BNE(0xfa5283e2, 0xf3ed99b4, 0xf7e61590, 0xb91211e0, 0xf7e61590, 0xb91211e0)
    TEST_BNE(0xec2f61d2, 0x988b9bee, 0xa2a598f8, 0xd039a9d8, 0xa2a598f8, 0xd039a9d8)
    TEST_BNE(0xcfe8786c, 0x9b7a5560, 0x3e0ad5a0, 0xb4878950, 0x3e0ad5a0, 0xb4878950)
    TEST_BNE(0xbb977f6a, 0x8c30c880, 0xfc93fbc0, 0xef74eeca, 0xfc93fbc0, 0xef74eeca)
    TEST_BNE(0x137eb568, 0x9c8a2100, 0x4cf6e712, 0x94800248, 0x4cf6e712, 0x94800248)
    TEST_BNE(0x9080e118, 0xcb05fbe7, 0x8af181c0, 0x16174159, 0x8af181c0, 0x16174159)
    TEST_BNE(0xfe37e93a, 0x7c98d980, 0x4754eb14, 0x64dbbaac, 0x4754eb14, 0x64dbbaac)
    TEST_BNE(0x0677bcb9, 0xa761310e, 0x0df076d2, 0xf4e77328, 0x0df076d2, 0xf4e77328)
    TEST_BNE(0xb740b108, 0x8e0d4d28, 0x82b7c5a8, 0xe9d4db30, 0x82b7c5a8, 0xe9d4db30)
    TEST_BNE(0x37fbd760, 0x23bad9d8, 0x85d50384, 0xd56a0350, 0x85d50384, 0xd56a0350)
    TEST_BNE(0x12ce4958, 0x10786eb4, 0x84eebcfc, 0xdccd8a48, 0x84eebcfc, 0xdccd8a48)
    TEST_BNE(0x0b654a30, 0xf3451ce0, 0xab319e80, 0xf742b258, 0xab319e80, 0xf742b258)
    TEST_BNE(0xd04ffdc0, 0x7503f772, 0x031317b8, 0x3d61f6b8, 0x031317b8, 0x3d61f6b8)
    TEST_BNE(0x7f1c510a, 0x836dc39a, 0x42d43bf0, 0xfe4534f0, 0x42d43bf0, 0xfe4534f0)
    TEST_BNE(0x0cd56940, 0x18155a16, 0x6d7334d0, 0xaec24144, 0x6d7334d0, 0xaec24144)
    TEST_BNE(0x4b8c59f8, 0x2e539b1c, 0x73726a64, 0x890c8224, 0x73726a64, 0x890c8224)
    TEST_BNE(0xfa6a5040, 0x91e59182, 0x14b01cc5, 0xa9203830, 0x14b01cc5, 0xa9203830)
    TEST_BNE(0xa82c5100, 0x92a87240, 0xe6a900fe, 0x6c59ba20, 0xe6a900fe, 0x6c59ba20)
    TEST_BNE(0x0b0c81e4, 0xab184898, 0xdd23e526, 0x91c26bd0, 0xdd23e526, 0x91c26bd0)
    TEST_BNE(0x97d51023, 0x20237fe8, 0xdac72590, 0xa2c6a1a4, 0xdac72590, 0xa2c6a1a4)
    TEST_BNE(0x96db90b0, 0x1d1df7e0, 0x8e499699, 0xe236e148, 0x8e499699, 0xe236e148)
    TEST_BNE(0x5a54c45a, 0x9ba2015c, 0x887f0b60, 0xf6fd4de8, 0x887f0b60, 0xf6fd4de8)
    TEST_BNE(0x264de37a, 0x9fa389ab, 0xe3530574, 0x6556a3c0, 0xe3530574, 0x6556a3c0)
    TEST_BNE(0x54b45b56, 0xf8a4a4c0, 0x95092f84, 0xccc1cfd0, 0x95092f84, 0xccc1cfd0)
    TEST_BNE(0x70e6db20, 0xdf404a88, 0x10d5f260, 0x298ecdf0, 0x10d5f260, 0x298ecdf0)
    TEST_BNE(0x2e279cac, 0x4978e47a, 0xf5dc6940, 0xbe6bfb60, 0xf5dc6940, 0xbe6bfb60)
    TEST_BNE(0x89fd6e58, 0xf88ddaf9, 0xeb11ab90, 0xeba05310, 0xeb11ab90, 0xeba05310)
    TEST_BNE(0x5ea74080, 0xef2b6a40, 0x41ae3dc0, 0x4fe59830, 0x41ae3dc0, 0x4fe59830)
    TEST_BNE(0x86d87cd1, 0xaed3caec, 0x69090b48, 0xd8ade460, 0x69090b48, 0xd8ade460)
    TEST_BNE(0xbe0e6070, 0xd0d22e80, 0x1f19c3e0, 0x22b40ba8, 0x1f19c3e0, 0x22b40ba8)
    TEST_BNE(0xf97a02c8, 0x4c953240, 0x9a220ced, 0x9dd457af, 0x9a220ced, 0x9dd457af)
    TEST_BNE(0x4022e4dc, 0x17b7eec0, 0xd674daa0, 0xd4a0eda9, 0xd674daa0, 0xd4a0eda9)
    TEST_BNE(0x3fc3c6fc, 0x3b71c348, 0x6648f118, 0xda022f00, 0x6648f118, 0xda022f00)
    TEST_BNE(0x275b47d8, 0x5f0e2a38, 0xfe807950, 0x770675f8, 0xfe807950, 0x770675f8)
    TEST_BNE(0x99c6d534, 0x20e81ebc, 0x668bcf90, 0x0d0031a4, 0x668bcf90, 0x0d0031a4)
    TEST_BNE(0xd752e630, 0x60786afc, 0x6902b7a0, 0xdb29a24e, 0x6902b7a0, 0xdb29a24e)
    TEST_BNE(0x453f7f9c, 0x56075ce0, 0xe7b38d3a, 0x55c72bd6, 0xe7b38d3a, 0x55c72bd6)
    TEST_BNE(0x7e5d03f5, 0xa7494960, 0xec37c948, 0xa9ad8b80, 0xec37c948, 0xa9ad8b80)
    TEST_BNE(0x58b1dc22, 0x58b1dc22, 0x59c3fe74, 0x56af4b20, 0x00000000, 0x00000000)
    TEST_BNE(0x68233e10, 0x68233e10, 0x67ae1e29, 0xba8afb9e, 0x00000000, 0x00000000)
    TEST_BNE(0xcaf4cd20, 0xcaf4cd20, 0x2109d8f0, 0xefea5e9a, 0x00000000, 0x00000000)
    TEST_BNE(0x61978e20, 0x61978e20, 0x8d1d7e07, 0xe325fb8a, 0x00000000, 0x00000000)
    TEST_BNE(0xcbd4aed1, 0xcbd4aed1, 0x563b08a4, 0x6bbf1858, 0x00000000, 0x00000000)
    TEST_BNE(0x995ba690, 0x995ba690, 0x33910682, 0xe3021dfc, 0x00000000, 0x00000000)
    TEST_BNE(0xac36da6a, 0xac36da6a, 0xedbc8ea0, 0x31021800, 0x00000000, 0x00000000)
    TEST_BNE(0xaf9dc450, 0xaf9dc450, 0x61200d30, 0x958db914, 0x00000000, 0x00000000)
    TEST_BNE(0x4da63b66, 0x4da63b66, 0x39aa7698, 0xab1bccf0, 0x00000000, 0x00000000)
    TEST_BNE(0xea36a755, 0xea36a755, 0xdb5f3f6a, 0x57021f00, 0x00000000, 0x00000000)
    TEST_BNE(0x992d4718, 0x992d4718, 0xf1956200, 0x71fe0a80, 0x00000000, 0x00000000)
    TEST_BNE(0xb54b96e8, 0xb54b96e8, 0x8ebf96fc, 0x31e2d860, 0x00000000, 0x00000000)
    TEST_BNE(0xc53690c4, 0xc53690c4, 0xca90baa6, 0x4091cd6c, 0x00000000, 0x00000000)
    TEST_BNE(0x2fc3dbde, 0x2fc3dbde, 0x67fcc470, 0xaf748ec8, 0x00000000, 0x00000000)
    TEST_BNE(0x1c064560, 0x1c064560, 0xea5e83e8, 0xc6aa58f8, 0x00000000, 0x00000000)
    TEST_BNE(0xc12b4332, 0xc12b4332, 0x3f6676c0, 0x7efdfee7, 0x00000000, 0x00000000)
    TEST_BNE(0x97591c86, 0x97591c86, 0x5e7fa680, 0x4595d750, 0x00000000, 0x00000000)
    TEST_BNE(0xdbd8b1e0, 0xdbd8b1e0, 0x846d8928, 0xa920a654, 0x00000000, 0x00000000)
    TEST_BNE(0x55d0c9a0, 0x55d0c9a0, 0xbe9e2d88, 0x46cf3c58, 0x00000000, 0x00000000)
    TEST_BNE(0xc1f1857c, 0xc1f1857c, 0x1d267b08, 0x63028f40, 0x00000000, 0x00000000)
    TEST_BNE(0x3ea06ca0, 0x3ea06ca0, 0xcc8e0db8, 0xe45d15fe, 0x00000000, 0x00000000)
    TEST_BNE(0xd0201a70, 0xd0201a70, 0x13a16f06, 0xe367bc2c, 0x00000000, 0x00000000)
    TEST_BNE(0xcd66d7d9, 0xcd66d7d9, 0xb6b22fbb, 0x37446a48, 0x00000000, 0x00000000)
    TEST_BNE(0xe4e9b0ec, 0xe4e9b0ec, 0xbcc86ba8, 0x596abb80, 0x00000000, 0x00000000)
    TEST_BNE(0x247815c0, 0x247815c0, 0xaa4aee40, 0xa1fec8b8, 0x00000000, 0x00000000)
    TEST_BNE(0xd7f4fae0, 0xd7f4fae0, 0x8b0d4ef8, 0x58cd80d8, 0x00000000, 0x00000000)
    TEST_BNE(0xaef5cb00, 0xaef5cb00, 0x2f4e9f7e, 0x7bd9b7e6, 0x00000000, 0x00000000)
    TEST_BNE(0x1c9e45ab, 0x1c9e45ab, 0xbbf75228, 0x7d68d3c7, 0x00000000, 0x00000000)
    TEST_BNE(0x4646bd73, 0x4646bd73, 0x35f489d4, 0x46223883, 0x00000000, 0x00000000)
    TEST_BNE(0xb5017ebb, 0xb5017ebb, 0xca85b4c0, 0x0e040ee8, 0x00000000, 0x00000000)
    TEST_BNE(0xe297d40f, 0xe297d40f, 0x4e29b20c, 0x80154d9c, 0x00000000, 0x00000000)
    TEST_BNE(0x8b78f900, 0x8b78f900, 0x49a25280, 0xc812b400, 0x00000000, 0x00000000)
    TEST_BNE(0x31aa2e48, 0x31aa2e48, 0xdb29cfb0, 0x15f2c27c, 0x00000000, 0x00000000)
    TEST_BNE(0x552ca6aa, 0x552ca6aa, 0x53f82f94, 0x4c942030, 0x00000000, 0x00000000)
    TEST_BNE(0x8095cf14, 0x8095cf14, 0x6cef8800, 0xd717c5ec, 0x00000000, 0x00000000)
    TEST_BNE(0xa7e1bbb2, 0xa7e1bbb2, 0x01bc39dc, 0x839a9e28, 0x00000000, 0x00000000)
    TEST_BNE(0x8d4c7b7a, 0x8d4c7b7a, 0xd74bed4a, 0x1eadde00, 0x00000000, 0x00000000)
    TEST_BNE(0x77919958, 0x77919958, 0x578e41e6, 0x1f53bc86, 0x00000000, 0x00000000)
    TEST_BNE(0x5c979db6, 0x5c979db6, 0x3b4ca5f8, 0xf4e5cea0, 0x00000000, 0x00000000)
    TEST_BNE(0x3ca24c26, 0x3ca24c26, 0x4cf342c0, 0x108d1140, 0x00000000, 0x00000000)
    TEST_BNE(0xf7526ede, 0xf7526ede, 0x8e877120, 0xa8d995c0, 0x00000000, 0x00000000)
    TEST_BNE(0xc2d7c380, 0xc2d7c380, 0x7cc209cc, 0x5b33af05, 0x00000000, 0x00000000)
    TEST_BNE(0x4f888d40, 0x4f888d40, 0x2f31fb40, 0xa23cad23, 0x00000000, 0x00000000)
    TEST_BNE(0x7aff3880, 0x7aff3880, 0x075c5a20, 0x7dfe2100, 0x00000000, 0x00000000)
    TEST_BNE(0x1ccade40, 0x1ccade40, 0x79428800, 0x95ac9da4, 0x00000000, 0x00000000)
    TEST_BNE(0x1ae19e48, 0x1ae19e48, 0x2acf8dc0, 0xa2dd393b, 0x00000000, 0x00000000)
    TEST_BNE(0xb011c65a, 0xb011c65a, 0xd0f5f880, 0xd28d2030, 0x00000000, 0x00000000)
    TEST_BNE(0x9d821b80, 0x9d821b80, 0x290816b0, 0x0f958490, 0x00000000, 0x00000000)
    TEST_BNE(0x56a2a476, 0x56a2a476, 0x48d44a40, 0x47bc856c, 0x00000000, 0x00000000)
    TEST_BNE(0x60d4c3f8, 0x60d4c3f8, 0x3a3b4ca0, 0x078c4c63, 0x00000000, 0x00000000)
    TEST_BNE(0xcea57950, 0xcea57950, 0xe7f16407, 0x93941160, 0x00000000, 0x00000000)
    TEST_BNE(0x4bea7c0c, 0x4bea7c0c, 0xfb771004, 0x51415156, 0x00000000, 0x00000000)
    TEST_BNE(0x8d016c01, 0x8d016c01, 0xd27c1000, 0xeb2972e0, 0x00000000, 0x00000000)
    TEST_BNE(0x61b970a6, 0x61b970a6, 0x892b7a57, 0x7a38c5a0, 0x00000000, 0x00000000)
    TEST_BNE(0x35193060, 0x35193060, 0x2f769205, 0xbc57b538, 0x00000000, 0x00000000)
    TEST_BNE(0x4f4742b2, 0x4f4742b2, 0xc1fed10a, 0xa6df7480, 0x00000000, 0x00000000)
    TEST_BNE(0x34ff6015, 0x34ff6015, 0xa349c9d0, 0xee92b690, 0x00000000, 0x00000000)
    TEST_BNE(0xe30dc982, 0xe30dc982, 0x23626e88, 0xbc5d8560, 0x00000000, 0x00000000)
    TEST_BNE(0x02c3561e, 0x02c3561e, 0x8c06e6e0, 0x2b872fc0, 0x00000000, 0x00000000)
    TEST_BNE(0xed5510e4, 0xed5510e4, 0xfecdaf9e, 0xb8cffea3, 0x00000000, 0x00000000)
    TEST_BNE(0x66b9f9a3, 0x66b9f9a3, 0x91ad998b, 0x73257eb8, 0x00000000, 0x00000000)
    TEST_BNE(0x228a1f40, 0x228a1f40, 0x0cf1b018, 0x0cf025a4, 0x00000000, 0x00000000)
    TEST_BNE(0xbc2cc696, 0xbc2cc696, 0xfe38ac95, 0x507d2ca0, 0x00000000, 0x00000000)
    TEST_BNE(0xe04df6d0, 0xe04df6d0, 0x89bd1878, 0x039fd030, 0x00000000, 0x00000000)
    TEST_BNE(0xa642eba0, 0xa642eba0, 0xb1249e00, 0x9eaa76f4, 0x00000000, 0x00000000)
    TEST_BNE(0x4f374f58, 0x4f374f58, 0x9da9fb7c, 0x72633556, 0x00000000, 0x00000000)
    TEST_BNE(0x04d40200, 0x04d40200, 0x6eff3a5a, 0x8f49e5c8, 0x00000000, 0x00000000)
    TEST_BNE(0xf3977c84, 0xf3977c84, 0x1d6d3640, 0xa38fa240, 0x00000000, 0x00000000)
    TEST_BNE(0x7bb1fa14, 0x7bb1fa14, 0xfd249f76, 0x25e32ba0, 0x00000000, 0x00000000)
    TEST_BNE(0x77d93460, 0x77d93460, 0xa0d21208, 0x5478bbf8, 0x00000000, 0x00000000)
    TEST_BNE(0x17cee700, 0x17cee700, 0x65b953c4, 0xb4e7d230, 0x00000000, 0x00000000)
    TEST_BNE(0x797aa904, 0x797aa904, 0x98012b58, 0xc20dacd0, 0x00000000, 0x00000000)
    TEST_BNE(0x834b907e, 0x834b907e, 0x63752176, 0x034c9358, 0x00000000, 0x00000000)
    TEST_BNE(0x458b7e94, 0x458b7e94, 0x740b9cf6, 0xd7e4cc9c, 0x00000000, 0x00000000)
    TEST_BNE(0x79cc8e64, 0x79cc8e64, 0xe7d73f60, 0x3b2d0138, 0x00000000, 0x00000000)
    TEST_BNE(0xa7d9d150, 0xa7d9d150, 0x4e1d55fa, 0x3a1bb7f8, 0x00000000, 0x00000000)
    TEST_BNE(0x10625c2f, 0x10625c2f, 0x103f9ab8, 0x9f857da0, 0x00000000, 0x00000000)
    TEST_BNE(0x4a23aee0, 0x4a23aee0, 0x0aa88500, 0x120f06d8, 0x00000000, 0x00000000)
    TEST_BNE(0xec678030, 0xec678030, 0xf55567e9, 0x4cb13f68, 0x00000000, 0x00000000)
    TEST_BNE(0x7a85dea0, 0x7a85dea0, 0xc6564b1c, 0x617221e0, 0x00000000, 0x00000000)
    TEST_BNE(0x4f6b4036, 0x4f6b4036, 0x0e561800, 0xc039be20, 0x00000000, 0x00000000)
    TEST_BNE(0x314341ca, 0x314341ca, 0xc985b518, 0x89173a28, 0x00000000, 0x00000000)
    TEST_BNE(0x7bd7a60e, 0x7bd7a60e, 0x653cb30c, 0xc46987cc, 0x00000000, 0x00000000)
    TEST_BNE(0xe6e7a560, 0xe6e7a560, 0xe1b606d4, 0x6be22cf0, 0x00000000, 0x00000000)
    TEST_BNE(0x6fa70c9e, 0x6fa70c9e, 0xa6d7ec3c, 0x76225f60, 0x00000000, 0x00000000)
    TEST_BNE(0x8d1a38fe, 0x8d1a38fe, 0xcf6c8ab8, 0xe2cb10ee, 0x00000000, 0x00000000)
    TEST_BNE(0xe97beec0, 0xe97beec0, 0xefa4f26d, 0x8847972e, 0x00000000, 0x00000000)
    TEST_BNE(0xdd075d7f, 0xdd075d7f, 0x41f63748, 0xa409a87d, 0x00000000, 0x00000000)
    TEST_BNE(0xfe0e8813, 0xfe0e8813, 0x4d0dd608, 0xde6b9fe0, 0x00000000, 0x00000000)
    TEST_BNE(0xede074e0, 0xede074e0, 0x38df4e4c, 0x65dd29f8, 0x00000000, 0x00000000)
    TEST_BNE(0x5a2bb954, 0x5a2bb954, 0x570bf47c, 0x28ce6e66, 0x00000000, 0x00000000)
    TEST_BNE(0xea36ddd8, 0xea36ddd8, 0x3770fb08, 0xbbbfbef8, 0x00000000, 0x00000000)
    TEST_BNE(0x59c4a701, 0x59c4a701, 0xff5ae000, 0x266f499e, 0x00000000, 0x00000000)
    TEST_BNE(0x78433560, 0x78433560, 0x5f42c0be, 0x0d626708, 0x00000000, 0x00000000)
    TEST_BNE(0xfa048400, 0xfa048400, 0x577d3f9c, 0x19639580, 0x00000000, 0x00000000)
    TEST_BNE(0x0c3b7e40, 0x0c3b7e40, 0xe1bbaa30, 0x6f7086d8, 0x00000000, 0x00000000)
    TEST_BNE(0xd27e5a00, 0xd27e5a00, 0x8988455c, 0x009f91a4, 0x00000000, 0x00000000)
    TEST_BNE(0xdc08df40, 0xdc08df40, 0x4ad44d00, 0xbb62aa40, 0x00000000, 0x00000000)
    TEST_BNE(0xf3d5dd00, 0xf3d5dd00, 0x4dc91b40, 0x9613e98e, 0x00000000, 0x00000000)
    TEST_BNE(0x7cb1dcd4, 0x7cb1dcd4, 0xc7f74069, 0xd22b57c8, 0x00000000, 0x00000000)
    TEST_BNE(0xaa8b7550, 0x00000000, 0xb206ba26, 0xbdeed800, 0xb206ba26, 0xbdeed800)
    TEST_BNE(0xcf8a4898, 0x00000000, 0xeeff8e78, 0x99be0628, 0xeeff8e78, 0x99be0628)
    TEST_BNE(0x9169d4e6, 0x00000000, 0x8de2a8f8, 0x4666ff30, 0x8de2a8f8, 0x4666ff30)
    TEST_BNE(0x8c727392, 0x00000000, 0xf914e5f0, 0xbfc02728, 0xf914e5f0, 0xbfc02728)
    TEST_BNE(0xb4e2d6c0, 0x00000000, 0xf0b7fb80, 0x34d439e0, 0xf0b7fb80, 0x34d439e0)
    TEST_BNE(0xc0d92060, 0x00000000, 0x3aa02880, 0x95161fc6, 0x3aa02880, 0x95161fc6)
    TEST_BNE(0xe5834417, 0x00000000, 0xf7f449fb, 0xbd54fd00, 0xf7f449fb, 0xbd54fd00)
    TEST_BNE(0xd557e6e4, 0x00000000, 0x7dbc8068, 0x4efada60, 0x7dbc8068, 0x4efada60)
    TEST_BNE(0xb437f388, 0x00000000, 0xac9fa100, 0x190187e8, 0xac9fa100, 0x190187e8)
    TEST_BNE(0xe822ca21, 0x00000000, 0xe0cbcfc0, 0x963582be, 0xe0cbcfc0, 0x963582be)
    TEST_BNE(0x3374510c, 0x00000000, 0x32a96121, 0x780cfcb0, 0x32a96121, 0x780cfcb0)
    TEST_BNE(0xa10f23f0, 0x00000000, 0xff9fd4d2, 0x36f3e0ee, 0xff9fd4d2, 0x36f3e0ee)
    TEST_BNE(0xdf18c280, 0x00000000, 0x429f8e70, 0x6cf8f7a0, 0x429f8e70, 0x6cf8f7a0)
    TEST_BNE(0xea92c588, 0x00000000, 0xbce51b0b, 0x8fcb2950, 0xbce51b0b, 0x8fcb2950)
    TEST_BNE(0x63488fb8, 0x00000000, 0x12e5b630, 0x30e67b92, 0x12e5b630, 0x30e67b92)
    TEST_BNE(0xf5554068, 0x00000000, 0x56e0aa24, 0xcb850982, 0x56e0aa24, 0xcb850982)
    TEST_BNE(0xa72f7240, 0x00000000, 0x52bccf3c, 0xe51f83fc, 0x52bccf3c, 0xe51f83fc)
    TEST_BNE(0xf9525442, 0x00000000, 0xcdbf5374, 0x1a146330, 0xcdbf5374, 0x1a146330)
    TEST_BNE(0x2aee70cc, 0x00000000, 0xec470e0a, 0x15339bc0, 0xec470e0a, 0x15339bc0)
    TEST_BNE(0xe7cf23cd, 0x00000000, 0x5f44aca5, 0x935cd3f4, 0x5f44aca5, 0x935cd3f4)
    TEST_BNE(0x784c035c, 0x00000000, 0x16c2c2d2, 0xdbc2dd86, 0x16c2c2d2, 0xdbc2dd86)
    TEST_BNE(0x381b0fc7, 0x00000000, 0xcf9c2af0, 0xe16bf6aa, 0xcf9c2af0, 0xe16bf6aa)
    TEST_BNE(0xa304a35c, 0x00000000, 0x9ba0beb0, 0x489d2488, 0x9ba0beb0, 0x489d2488)
    TEST_BNE(0x89b03300, 0x00000000, 0x43985248, 0x2ac1d2a8, 0x43985248, 0x2ac1d2a8)
    TEST_BNE(0xcc4e749c, 0x00000000, 0x30444ec0, 0x002534c4, 0x30444ec0, 0x002534c4)
    TEST_BNE(0xbb1afce8, 0x00000000, 0x20935758, 0xbadbdd3c, 0x20935758, 0xbadbdd3c)
    TEST_BNE(0x0af9f120, 0x00000000, 0x845f6be2, 0xbf533b6d, 0x845f6be2, 0xbf533b6d)
    TEST_BNE(0x3c977628, 0x00000000, 0xf23b84c2, 0x5d79b8a0, 0xf23b84c2, 0x5d79b8a0)
    TEST_BNE(0xfd6e7b90, 0x00000000, 0x47290560, 0x9858a8c0, 0x47290560, 0x9858a8c0)
    TEST_BNE(0x0a5cf8a4, 0x00000000, 0xb090f1c2, 0xd9243f16, 0xb090f1c2, 0xd9243f16)
    TEST_BNE(0xc02c9c40, 0x00000000, 0xd2571570, 0xde69657e, 0xd2571570, 0xde69657e)
    TEST_BNE(0xd8ff71e8, 0x00000000, 0xaf4322b0, 0x5e1a0d5e, 0xaf4322b0, 0x5e1a0d5e)
    TEST_BNE(0x671fd946, 0x00000000, 0xecab9b60, 0x152bde74, 0xecab9b60, 0x152bde74)
    TEST_BNE(0xd8e5c300, 0x00000000, 0x426b0338, 0xd067be5d, 0x426b0338, 0xd067be5d)
    TEST_BNE(0xe59fc674, 0x00000000, 0x0b0fb6fa, 0xa88ca280, 0x0b0fb6fa, 0xa88ca280)
    TEST_BNE(0xad879fc7, 0x00000000, 0x33310338, 0xd0c83580, 0x33310338, 0xd0c83580)
    TEST_BNE(0xd8b69bf4, 0x00000000, 0xb7c94b51, 0x24866f90, 0xb7c94b51, 0x24866f90)
    TEST_BNE(0x0b6573f2, 0x00000000, 0xbf0eedc4, 0x7d463846, 0xbf0eedc4, 0x7d463846)
    TEST_BNE(0xb9f30000, 0x00000000, 0x75310c70, 0xe977ed44, 0x75310c70, 0xe977ed44)
    TEST_BNE(0xee48bda8, 0x00000000, 0x0d05ab02, 0x1e8f8702, 0x0d05ab02, 0x1e8f8702)
    TEST_BNE(0x17396930, 0x00000000, 0x445a57e9, 0xa940150e, 0x445a57e9, 0xa940150e)
    TEST_BNE(0x3d2d6ed0, 0x00000000, 0xf0205350, 0xe468d614, 0xf0205350, 0xe468d614)
    TEST_BNE(0x9fefd380, 0x00000000, 0x84881236, 0x636e19c4, 0x84881236, 0x636e19c4)
    TEST_BNE(0xbd3a5f46, 0x00000000, 0x3e896f80, 0x271fb930, 0x3e896f80, 0x271fb930)
    TEST_BNE(0xb66ba5c0, 0x00000000, 0x6148120c, 0xf6ff94eb, 0x6148120c, 0xf6ff94eb)
    TEST_BNE(0x27d56534, 0x00000000, 0xd983a868, 0x4e36d14d, 0xd983a868, 0x4e36d14d)
    TEST_BNE(0x4d992003, 0x00000000, 0x63d15f30, 0x1ccabc34, 0x63d15f30, 0x1ccabc34)
    TEST_BNE(0xf3a10830, 0x00000000, 0x514a6c70, 0x15bbe844, 0x514a6c70, 0x15bbe844)
    TEST_BNE(0x07a85d88, 0x00000000, 0x4d05d260, 0xf43f79fc, 0x4d05d260, 0xf43f79fc)
    TEST_BNE(0xb713ebac, 0x00000000, 0x5b4ccd80, 0xc4a3eb21, 0x5b4ccd80, 0xc4a3eb21)
    TEST_BNE(0x00000000, 0xbb22d1aa, 0x52efeacc, 0x8b1f5402, 0x52efeacc, 0x8b1f5402)
    TEST_BNE(0x00000000, 0x4c091d68, 0x3c7ec120, 0x6518aa99, 0x3c7ec120, 0x6518aa99)
    TEST_BNE(0x00000000, 0xd4a3fdd0, 0xf2678f0c, 0x8f892ee0, 0xf2678f0c, 0x8f892ee0)
    TEST_BNE(0x00000000, 0xe7c275e6, 0xec70c6b8, 0x955f2bd8, 0xec70c6b8, 0x955f2bd8)
    TEST_BNE(0x00000000, 0x42355cf4, 0x2851d82c, 0x53c3a1e0, 0x2851d82c, 0x53c3a1e0)
    TEST_BNE(0x00000000, 0xab6636d5, 0x2a5b1ca0, 0x0c798620, 0x2a5b1ca0, 0x0c798620)
    TEST_BNE(0x00000000, 0x2526c610, 0xfd63b29c, 0xd3a22562, 0xfd63b29c, 0xd3a22562)
    TEST_BNE(0x00000000, 0xf64a1200, 0xc6899028, 0xedce3230, 0xc6899028, 0xedce3230)
    TEST_BNE(0x00000000, 0xd84b5b98, 0x549ab500, 0x16daa7f0, 0x549ab500, 0x16daa7f0)
    TEST_BNE(0x00000000, 0xaaeb992c, 0x154a0340, 0x339b44d6, 0x154a0340, 0x339b44d6)
    TEST_BNE(0x00000000, 0xa3523878, 0x740b3cb4, 0xd6342340, 0x740b3cb4, 0xd6342340)
    TEST_BNE(0x00000000, 0xf7015a40, 0x638e01f7, 0x30b6c750, 0x638e01f7, 0x30b6c750)
    TEST_BNE(0x00000000, 0x0eb00ec0, 0x0e543812, 0xa87b4680, 0x0e543812, 0xa87b4680)
    TEST_BNE(0x00000000, 0xf6838110, 0x56237fe8, 0x476513e2, 0x56237fe8, 0x476513e2)
    TEST_BNE(0x00000000, 0xe795f452, 0x23d8e5c8, 0x07ab1cc4, 0x23d8e5c8, 0x07ab1cc4)
    TEST_BNE(0x00000000, 0xbc63f599, 0xcf48071c, 0x7df4192c, 0xcf48071c, 0x7df4192c)
    TEST_BNE(0x00000000, 0xb1aa5546, 0xfea3d078, 0x2c4b1e7c, 0xfea3d078, 0x2c4b1e7c)
    TEST_BNE(0x00000000, 0x128a65f0, 0x919f876c, 0x266252a9, 0x919f876c, 0x266252a9)
    TEST_BNE(0x00000000, 0x39ffa438, 0xe4424a48, 0xec76e8f2, 0xe4424a48, 0xec76e8f2)
    TEST_BNE(0x00000000, 0x4b38dc00, 0xb54e7bb0, 0xf288e550, 0xb54e7bb0, 0xf288e550)
    TEST_BNE(0x00000000, 0x74a80000, 0xcb1c8a18, 0x30da476b, 0xcb1c8a18, 0x30da476b)
    TEST_BNE(0x00000000, 0xd1ed5e5a, 0x1eab3fe0, 0x4de01ec6, 0x1eab3fe0, 0x4de01ec6)
    TEST_BNE(0x00000000, 0x4aa20178, 0x7a54b48f, 0xdad6f3c4, 0x7a54b48f, 0xdad6f3c4)
    TEST_BNE(0x00000000, 0xef7b1d94, 0x5b4d401a, 0xc7e8be26, 0x5b4d401a, 0xc7e8be26)
    TEST_BNE(0x00000000, 0xdce59fd0, 0x4525e5a6, 0xb7128672, 0x4525e5a6, 0xb7128672)
    TEST_BNE(0x00000000, 0xc6d4f907, 0x4b52ab90, 0x99b99170, 0x4b52ab90, 0x99b99170)
    TEST_BNE(0x00000000, 0x18779ea8, 0x118ef470, 0x35c5777a, 0x118ef470, 0x35c5777a)
    TEST_BNE(0x00000000, 0x68d87fc6, 0x6b76aee8, 0x99f7dfe8, 0x6b76aee8, 0x99f7dfe8)
    TEST_BNE(0x00000000, 0x2edc6865, 0xd18bc8b8, 0x4a989270, 0xd18bc8b8, 0x4a989270)
    TEST_BNE(0x00000000, 0xbeb1b022, 0x6fbef3e6, 0xd6bbf280, 0x6fbef3e6, 0xd6bbf280)
    TEST_BNE(0x00000000, 0x87ed47a0, 0x2755e910, 0x04e96844, 0x2755e910, 0x04e96844)
    TEST_BNE(0x00000000, 0x9e1ae5f8, 0xec2fea40, 0xad644718, 0xec2fea40, 0xad644718)
    TEST_BNE(0x00000000, 0xec5c23c0, 0xc7a60e00, 0x69d27038, 0xc7a60e00, 0x69d27038)
    TEST_BNE(0x00000000, 0x8750a8b4, 0x426ee00a, 0xcd7edcb0, 0x426ee00a, 0xcd7edcb0)
    TEST_BNE(0x00000000, 0x4b453890, 0xfbb5881b, 0xb9b9f8e4, 0xfbb5881b, 0xb9b9f8e4)
    TEST_BNE(0x00000000, 0x4a062f46, 0x655a0c50, 0x0d3c8021, 0x655a0c50, 0x0d3c8021)
    TEST_BNE(0x00000000, 0x4306015f, 0x29e93f90, 0x0e16e570, 0x29e93f90, 0x0e16e570)
    TEST_BNE(0x00000000, 0x438b2180, 0xe01d2d1c, 0x7d71a040, 0xe01d2d1c, 0x7d71a040)
    TEST_BNE(0x00000000, 0x4beca0d0, 0x0834cc10, 0x1ca26760, 0x0834cc10, 0x1ca26760)
    TEST_BNE(0x00000000, 0x4d4ef93a, 0x1fbf88ce, 0x0062f672, 0x1fbf88ce, 0x0062f672)
    TEST_BNE(0x00000000, 0x1fb54c54, 0xf4510894, 0x90a81418, 0xf4510894, 0x90a81418)
    TEST_BNE(0x00000000, 0x5ae1c10a, 0xa55e3a99, 0xa457dfb0, 0xa55e3a99, 0xa457dfb0)
    TEST_BNE(0x00000000, 0xe39c65e3, 0x445b8590, 0x252bf044, 0x445b8590, 0x252bf044)
    TEST_BNE(0x00000000, 0x71cf2d6a, 0x3cf2a6f6, 0xe5050db0, 0x3cf2a6f6, 0xe5050db0)
    TEST_BNE(0x00000000, 0x1530a956, 0xdb56b7a8, 0x49b211f0, 0xdb56b7a8, 0x49b211f0)
    TEST_BNE(0x00000000, 0xe34317f6, 0x38abc364, 0xa774a135, 0x38abc364, 0xa774a135)
    TEST_BNE(0x00000000, 0x15c91782, 0xb27bd70c, 0xb672ede0, 0xb27bd70c, 0xb672ede0)
    TEST_BNE(0x00000000, 0x774ab6a0, 0xace06e98, 0xf6c13268, 0xace06e98, 0xf6c13268)
    TEST_BNE(0x00000000, 0x5dfc6230, 0x6ea36e38, 0x6d81b001, 0x6ea36e38, 0x6d81b001)
    TEST_BNE(0x00000000, 0x0edcb298, 0x931c23ac, 0xf917267c, 0x931c23ac, 0xf917267c)
    TEST_BNE(0x00000000, 0x00000000, 0x1744192c, 0x0b48f1f0, 0x00000000, 0x00000000)
###detect exception
    bne s2, zero, inst_error
###score ++
    addi.w s3, s3, 1
###output (s0<<24)|s3
inst_error:  
    slli.w t1, s0, 24
    NOP4
    or t0, t1, s3 
    NOP4
    st.w t0, s1, 0
    jirl zero, ra, 0
END(n17_bne_test)
